def datetime():
    import datetime
    import time
    print(datetime.date.today())
    print(time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time())))
datetime()


from datetime import *
now=datetime.now()
print(now.strftime('%a,%b %d %H:%M'))

from datetime import datetime
now=datetime.now()
print(now)
print (type(now))